package blog.service;

import blog.pojo.ChapterLabel;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ChapterLabelService {

    List<ChapterLabel> getListByChapterId(Integer id) throws Exception;

    Page<ChapterLabel> getPage(Page<ChapterLabel> page, String keywords) throws Exception;

    boolean edit(ChapterLabel chapterLabel) throws Exception;

    boolean del(Integer id) throws Exception;

    List<ChapterLabel> getAll() throws Exception;
}
